<template>
  <div class="register">
    <nav>
      <div>
        <img src="../../../assets/img/common/logo2.png" alt="logo">
        <ul>
          <li>首页</li>
          <li>十大投票</li>
          <li>品牌大全</li>
          <li>加盟招商</li>
          <li>榜上力量</li>
          <li>新闻资讯</li>
          <li>关于我们</li>
        </ul>
      </div>
    </nav>
    <section>
      <div class="input-box">
        <span>手机号</span>
        <input v-model="phone" type="phone" placeholder="请输入手机号">
      </div>
      <div class="input-box yanzhengma">
        <span>验证码</span>
        <input v-model="yzm" type="phone" placeholder="请输入验证码">
        <span>获取验证码</span>
      </div>
      <div class="input-box">
        <span>密&nbsp;&nbsp;&nbsp;码</span>
        <input v-model="mima" type="phone" placeholder="请输入密码">
      </div>
      <div class="input-box querenmima">
        <span>确认密码</span>
        <input v-model="mima2" type="phone" placeholder="请再次输入密码">
      </div>
      <div class="xieyi">
        <i class="el-icon-success" />
        <span>同意《用户协议》&nbsp;《隐私政策》</span>
      </div>
      <button class="lijizhuce" @click="register">立即注册</button>
      <p>已拥有账号?<router-link to="/login">立即登录</router-link></p>
    </section>
    <footer>
      <ul>
        <li>新手指南</li>
        <li>|</li>
        <li>品牌商服务</li>
        <li>|</li>
        <li>新闻咨询</li>
        <li>|</li>
        <li>联系我们</li>
      </ul>
      <p>京iCP备Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin</p>
    </footer>
  </div>
</template>

<script>
export default {
  data() {
    return {
      phone: '',
      yzm: '',
      mima: '',
      mima2: ''
    }
  },
  created() {},
  mounted() {
    var orderHight = document.body.clientHeight
    console.log(orderHight)
  },
  methods: {
    register() {
      this.$router.push('/login')
    }
  }

}
</script>

<style lang="scss" scoped>
.register{
  width: 100%;
  max-width: 1920px;
  min-width: 1200px;
  height: 100%;
  margin: 0 auto;
  overflow: auto;
  overflow-y:hidden;
  background-color: #F6F6F6;
}
nav{
  width: 100%;
  min-width: 1200px;
  height: 90px;
  background-color: #323333;
  margin-bottom: 72px;
}
nav>div{
  width: 1200px;
  height: 90px;
  margin:0 auto;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
nav>div>img{
  display: block;
  height: 74px;
}
nav>div>ul{
  width: 680px;
  height: 90px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: #fff;
}
nav>div>ul>li{
  cursor: pointer;
}
section{
  width: 750px;
  height: 524px;
  margin: 0 auto;
  background-color: rgba(255,255,255,.9);
  padding: 64px 165px;
  margin-bottom: 85px;
}

.input-box{
  width: 100%;
  height: 42px;
  line-height: 42px;
  border: 1px solid #D9D9D9;
  border-radius: 5px;
  background-color: #F6F6F6;
  color: #CDCDCE;
  font-size: 14px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
}
section .querenmima{
  margin-bottom: 12px;
}
.input-box>span{
  display: block;
  width: 72px;
  height: 42px;
  line-height: 42px;
  color: #333;
  padding-left: 14px;
  border-right: 1px solid #BEBEBE;
}

.input-box>input{
  padding-left: 20px;
  border: none;
  outline: none;
  background-color: transparent;
  height: 42px;
  line-height: 42px;
}
.input-box>input::-webkit-input-placeholder {
  /* placeholder颜色  */
  color: #CDCDCE;
  font-size: 14px;
}
section .yanzhengma{
  position: relative;
}
section .yanzhengma>span:last-child{
  height: 17px;
  line-height: 17px;
  font-size: 12px;
  position: absolute;
  top: 11px;
  right: 6px;
  border-right: none;
  cursor: pointer;
  color: #417AEF;
}
.xieyi{
  margin-bottom: 29px;
  color: #999;
  cursor: pointer;
}
.xieyi>i{
  margin-right: 8px;
}

.lijizhuce{
  border: none;
  outline: none;
  display: block;
  width: 239px;
  height: 45px;
  margin: 0 auto;
  background-color: #417AEF;
  border-radius: 4px;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  margin-bottom: 32px;
}
section>p:last-child{
  width: 100%;
  text-align: center;
  font-size: 12px;
}
section>p:last-child>a{
  color: #EA6457;
}
footer{
  color: #666;
}
footer>ul{
  font-size: 12px;
  width: 288px;
  margin: 0 auto;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  margin-bottom: 21px;
}
footer>p{
  font-size: 14px;
  width: 100%;
  text-align: center;
  margin-bottom: 47px;
}
</style>

